post from data using fetch in reactjs